<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class MasterStatisticWeek extends Model
{
    protected $table = 'master_statistic_week';

    const CREATED_AT = null;
    const UPDATED_AT = null;

    protected $dateFormat = 'U';

    protected $fillable = [
        'master_id',
        'start_time',
        'end_time',
        'order_count',
        'income_sum',
    ];

    protected $casts = [
        'start_time'=>'datetime',
        'end_time'=>'datetime',
        'order_count' => 'integer',
        'income_sum' => 'integer',
    ];
}
